SELECT FORMMAIN_1100."ID",ORG_MEMBER.CODE user_code,ORG_MEMBER."NAME" memberName,
CASE WHEN FORMMAIN_1100.FIELD0005 IS NULL THEN 0 ELSE FORMMAIN_1100.FIELD0005 END overtime_ordinary,
CASE WHEN FORMMAIN_1100.FIELD0007 IS NULL THEN 0 ELSE FORMMAIN_1100.FIELD0007 END overtime_holiday
FROM FORMMAIN_1100 
LEFT JOIN ORG_MEMBER ON ORG_MEMBER."ID" = FORMMAIN_1100.FIELD0001 
LEFT JOIN ORG_UNIT ON ORG_MEMBER.ORG_DEPARTMENT_ID = ORG_UNIT."ID"
WHERE FORMMAIN_1100.MODIFY_DATE BETWEEN "TO_DATE"("CONCAT"("TO_CHAR"("ADD_MONTHS"("TRUNC"(SYSDATE), -1),'yyyy-MM'), '-26 00:00:00'), 'yyyy-mm-dd hh24:mi:ss') 
AND "TO_DATE"("CONCAT"("TO_CHAR"(SYSDATE,'yyyy-MM'), '-25 23:59:59'), 'yyyy-mm-dd hh24:mi:ss') AND ORG_MEMBER.CODE IS NOT NULL